package cn.yfj.system.mapper;

import cn.yfj.system.domain.Role;
import cn.yfj.basic.mapper.BaseMapper;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yfj
 * @since 2022-02-20
 */
public interface RoleMapper extends BaseMapper<Role> {

    void batchSaveMenu(HashMap<String, Object> map);

    void batchSavePermission(Map<String, Object> map);

    void removeRoleMenu(Long id);

    void removeRolePermission(Long id);
}
